package com.bootdo.front.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.front.dao.WorkExperienceDao;
import com.bootdo.front.domain.WorkExperienceDO;
import com.bootdo.front.service.WorkExperienceService;



@Service
public class WorkExperienceServiceImpl implements WorkExperienceService {
	@Autowired
	private WorkExperienceDao workExperienceDao;
	
	@Override
	public WorkExperienceDO get(Long id){
		return workExperienceDao.get(id);
	}
	
	@Override
	public List<WorkExperienceDO> list(Map<String, Object> map){
		return workExperienceDao.list(map);
	}

	@Override
	public List<WorkExperienceDO> getByResumeId(Long resumeId) {
			return workExperienceDao.getByResumeId(resumeId);
	}

	@Override
	public int count(Map<String, Object> map){
		return workExperienceDao.count(map);
	}
	
	@Override
	public int save(WorkExperienceDO workExperience){
		return workExperienceDao.save(workExperience);
	}
	
	@Override
	public int update(WorkExperienceDO workExperience){
		return workExperienceDao.update(workExperience);
	}
	
	@Override
	public int remove(Long id){
		return workExperienceDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return workExperienceDao.batchRemove(ids);
	}
	
}
